GXGetNewPaperType
You can use theGXGetNewPaperType
function to create a new paper-type object from a resource template.
gxPaperType GXGetNewPaperType (gxJob aJob,short resID);
aJob
- A reference to the job object associated with the new paper-type object.
resID
- The ID of the resource template.
- function result
- A reference to a paper-type object.
DESCRIPTION
TheGXGetNewPaperType
function creates a paper-type object in the same way that theGXNewPaperType
function does, except that the title, the imageable area, and the paper size are defined in the resource identified by resID. TheGXGetNewPaperType
function associates the returned paper-type object reference with the aJob job object.RESULT CODES
gxSegmentLoadFailedErr A required code segment could not be found, or there was not enough memory to load it. collectionVersionErr The version of the collection object is not compatible with the current version of the Collection Manager. gxPaperTypeNotFound The paper-type object cannot be located.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help